<style>
    body{
        background-color: #f9f9f9;
    }
    .xh-form .btn{
        margin-right: 0px;
    }
    .textbox-text .textbox-prompt{
        color: white;
    }
    .form-control[readonly]{
        background-color: white;
    }

    .progress{position: relative;height:25px; width:130px;margin: 0 0;float: left}
    .progress_bg{height: 25px; border: 1px solid #ddd; overflow: hidden;background-color:#f2f2f2;}
    .progress_bar{background: #5FB878; width: 0; height: 25px;}
    .progress_btn{width: 10px; height: 25px;  position: absolute;background:#fff;left: 0px;top:0px; cursor: pointer;border:1px #ddd solid;box-sizing:border-box;}
    .progress_btn:hover{border-color:#F7B824;}
</style>
<form id="xh_form" class="xh-form"  method="post"   style="margin-left: 20px;">
    <div class="xh-area-form">
        <table style="width: 100%">
            <tr style="display: none">
                <input style="display: none" id="school" value="{{ school }}">
                <input style="display: none" id="iId" value="{{ iId }}">
                <input style="display: none" id="type" value="{{ type }}">
            </tr>
            <tr>
                <td style="width: 75px"><label>开始时间:</label></td>
                <td>
                    <input style="width: 200px" class="form-date form-control" type="text" id="startTime" name="startTime" autocomplete="off" value="{{ startDate }}">
                </td>
                <td style="width: 75px"><label>结束时间:</label></td>
                <td>
                    <input style="width: 200px" class="form-date form-control" type="text" id="endTime" name="endTime" autocomplete="off" value="{{ endDate }}">
                </td>
            </tr>
            {% if type == 1 %}
                <tr>
                    <td><label>关联老师:</label></td>
                    <td>
                        <select id="teaList" name="teaList" class="form-control" style="width: 200px">
                            <option value="" selected style="display: none">请选择</option>
                        </select>
                    </td>
                    <td><label>完成进度:</label></td>
                    <td>
                        <div class="progress">
                            <div class="progress_bg">
                                <div class="progress_bar"></div>
                            </div>
                            <div class="progress_btn"></div>
                        </div>
                        <div style="float: left;font-size: 12px;margin-left:2px;width: 25px;height: 30px;line-height: 27px;" class="text">0%</div>
                        <input type="hidden" name="sProcess" id="sProcess" value="{{ progress }}">
                    </td>
                </tr>
            {% else %}
                <tr>
                    <td><label>完成进度:</label></td>
                    <td>
                        <div class="progress">
                            <div class="progress_bg">
                                <div class="progress_bar"></div>
                            </div>
                            <div class="progress_btn"></div>
                        </div>
                        <div style="float: left;font-size: 12px;margin-left:2px;width: 25px;height: 30px;line-height: 27px;" class="text">0%</div>
                        <input type="hidden" name="sProcess" id="sProcess" value="{{ progress }}">
                    </td>
                </tr>
            {% endif %}
            <tr>
                <td><label>备注:</label></td>
                <td colspan="3" >
                    <textarea style="width: 575px" class="form-control" id="remark" name="remark" rows="5" wrap="soft">{{ remark }}</textarea>
                </td>
            </tr>
            <tr>
                <td colspan="5">
                    <p style="color: red">
                        上传附件(请手动点击“上传”按钮后再提交信息)
                    </p>
                    <div class="form-group" style="margin-left: 0px;">
                        <input id="fileInput" class="form-control"  multiple="multiple" type="file"/>
                    </div>
                </td>
            </tr>
        </table>
    </div>
</form>